package com.gc.gc.role.service;

import com.gc.gc.mybatis.entity.PtRoleEntity;
import com.gc.gc.mybatis.flexigrid.PadingRstType;
import com.gc.gc.mybatis.flexigrid.PagingBean;
import com.gc.gc.mybatis.ztree.ZtreeEntity;
import com.gc.gc.role.entity.SearchRoleEntity;
import com.gc.gc.user.control.UserController;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleService {
    PadingRstType<PtRoleEntity> getRoleInfoListByPage(SearchRoleEntity search, PagingBean paging);

    List<ZtreeEntity> getMenuZtreeListByRoleId(String roleUuid);

    void saveMenuByRoleId(String roleUuid, String menuIds);
    void deleteRoleByRoleId(@Param("roleUuid") String roleUuid);
}
